<nav-bar-panel></nav-bar-panel>
<div class="content container">
    <div class="list-group">
        <a href="#/my_favorites" ng-if="currentUser.id" class="list-group-item">
            <span class="glyphicon glyphicon-star"></span>
            我的收藏
            <span class="caret" style="float: right"></span></a>
        <a href="#/category-admin"
           ng-if="hasAnyRoles('admin', 'push_admin', 'shop_checker', 'shop_owner', 'product_checker')"
           class="list-group-item">
            <span class="glyphicon glyphicon-menu-hamburger"></span>
            后台
            <span class="caret" style="float: right"></span></a>
        <a ng-click="goToWechatLoginPage()" ng-if="!currentUser.id" class="list-group-item">
            <span class="glyphicon glyphicon-user"></span>
            微信登陆
            <span class="caret" style="float: right"></span></a>
        <a href="#/login" ng-if="!currentUser.id" class="list-group-item">
            <span class="glyphicon glyphicon-user"></span>
            登陆
            <span class="caret" style="float: right"></span></a>
        <a href="#/register" ng-if="!currentUser.id" class="list-group-item">
            <span class="glyphicon glyphicon-plus"></span>
            注册
            <span class="caret" style="float: right"></span></a>
        <a ng-click="logout()" ng-if="currentUser.id && !isInWechat" class="list-group-item">
            <span class="glyphicon glyphicon-remove"></span>
            退出
            <span class="caret" style="float: right"></span></a>
    </div>
</div>
<footer-bar-panel></footer-bar-panel>